import {FormsModule} from '@angular/forms';
import {CommonModule} from '@angular/common';
import {MaterialModule} from '../shared/material.module';
import {NgModule} from '@angular/core';
import {OrdersRoutingModule} from './orders-routing.module';
import {
  CommentDialogComponent,
  OrderListComponent
} from './order-list/order-list.component';
import {OrderDetailComponent} from './order-detail/order-detail.component';
import {CoreModule} from '../core/core.module';
import {ConfirmDialogComponent} from '../core/confirm-dialog/confirm-dialog.component';
import {FlexLayoutModule} from '@angular/flex-layout';
import {OrderService} from './shared/order.service';

@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    MaterialModule,
    FlexLayoutModule,
    CoreModule,
    OrdersRoutingModule
  ],
  exports: [
  ],
  providers: [
    OrderService
  ],
  declarations: [
    OrderListComponent,
    OrderDetailComponent,
    CommentDialogComponent,
  ],
  entryComponents: [
    CommentDialogComponent,
    ConfirmDialogComponent
  ]
})

export class OrdersModule {}
